# @Author: dpf
# @Date  : 2024/11/28/15:17

class User:
    id = None
    logName = None
    password = None

    def __init__(self, logName, password):
        self.logName = logName
        self.password = password

    @staticmethod
    def modify_password_constructor(logName, password, newPassword):
        obj = User(logName, password)
        obj.password = newPassword
        return obj
